package vip.meeet.dubbo.service.impl;


import vip.meeet.dubbo.exception.MyException;
import vip.meeet.dubbo.service.DemoService;

public class DemoServiceImpl implements DemoService {

	@Override
	public String sayHello(String name) {
		return "Hello " + name;
	}

	@Override
	public Integer exception(Integer arg) {
//		Integer result = 1 / 0;
		throw new MyException();
//		return result;
	}

}
